import request from '@/utils/request'

// POST /manager/addSensitiveWord
// 添加敏感词
export function addSensitiveWord(data) {
  return request({
    url: '/manager/manager/addSensitiveWord',
    method: 'post',
    data
  })
}

// POST /manager/delSensitiveWord
// 删除敏感词
export function delSensitiveWord(data) {
  return request({
    url: '/manager/manager/delSensitiveWord',
    method: 'post',
    data
  })
}

// POST /manager/getSensitiveWordList
// 获取所有敏感词
export function getSensitiveWordList(data) {
  return request({
    url: '/manager/manager/getSensitiveWordList',
    method: 'post',
    data
  })
}
